<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">

<script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="js/jquery-1.7.2.js"></script>
<script type="text/javascript" src="js/jquery-ui.min.js.js"></script>
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
<link rel="StyleSheet" href="css/style_luyen.css" type="text/css">
<script type="text/javascript" src="js/jquery.cookie.js"></script>
<!--   <script type="text/javascript" src="js/deleteuser.js"></script>-->
<script type="text/javascript" src="js/dungcodua.js"></script>
<title>quan ly he thong dat phong</title>
</head>
<body>
<div id="all">
  <div id="wrapper">
  	<div id="top">
  		<tiles:insertTemplate template="/newheader1.jsp"></tiles:insertTemplate>
  	</div><!-- end #top -->
  	<div id="content">
  		<div class="admin_thanh_ngang"></div><!-- end .admin_thanh_ngang -->
  		<div class="content_main">
  			<div class="content_main_left">
  				<tiles:insertTemplate template="/admin_left.jsp"></tiles:insertTemplate>
  			</div><!-- end .content_main_left -->
  			<div id="x_content_right">
  			<div class="listroom">
  			<span >	会議室リスト</span>
  				<select class="listphong">
  					<option value="all" selected="selected">全て室</option>
  					<option value="situ">会議室</option>
  					<option value="busu">会議ブース</option>
  				</select>
  			</div><!-- end .listroom -->
  				<s:if test="listRoom.size()>0">
					<table border="1">
					<tr>
					<th>順番</th><th>会議室ID</th><th>種類</th><th>席数</th><th>フロア</th><th>使用料</th><th>状態</th><th>詳細</th><th>操作</th>
					</tr>
					<s:iterator status="stat" value="listRoom">
					<tr>
						<td><s:property value="#stat.index+1"/></td>
						<td><s:property value="roomID"/> </td>
						<td><s:property value="roomType2"/> </td>
						<td><s:property value="seat"/> </td>
						<td><s:property value="floor"/> </td>
						<td><s:property value="price"/> </td>
						<s:if test="status==1">
							<td>良い</td>
						</s:if>
						<s:elseif test="status==0">
							<td>故障</td>
						</s:elseif>
						<td width="200px"><s:property value="desc"/></td>
						<td>
							<input type="button" value="削除" name="delete_room" class="delete_room_">
							<input type="hidden" value="<s:property value="roomID"/>" class="hidden_room">
							<input type="hidden" value="<s:property value="seat"/>" class="hidden_ghe">
							<input type="hidden" value="<s:property value="price"/>" class="hidden_use">
							<input type="button" value="変更" name="edit_room" class="edit_room_">
							
						</td>
					</tr>
					</s:iterator>
					</table>
				</s:if>
  			</div><!-- end .content_main_right -->
  			<div class="clear"></div>
  		</div><!-- end .content_main -->

  	</div><!-- end #content -->
  	<div id="footer">
  		<tiles:insertTemplate template="/newfooter.jsp"></tiles:insertTemplate>
  	</div><!-- end s#footer  -->
  </div><!-- end .#wrapper -->
  </div><!-- end #all -->
</body>
</html>